package com.heima.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CourseDto extends PageDto{

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String beginTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String endTime;
    private String name;//课程名称
    private String code;//课程编号
    private String subject;//课程科目
    private String applicablePerson;//适用人群
}
